package com.winning.sjzc.common.entity.po;

import com.winning.sjzc.common.entity.vo.UserSexEnum;
import java.io.Serializable;

/**
 * description:
 *
 * @author yanxf@winning.com.cn
 * @date 2019/08/06 16:28
 */
public class User implements Serializable {

  private static final long serialVersionUID = 1L;
  private Long id;
  private String userName;
  private String passWord;
  private UserSexEnum userSex;
  private String nickName;

  public User() {
    super();
  }

  public User(String userName, String passWord, UserSexEnum userSex) {
    super();
    this.passWord = passWord;
    this.userName = userName;
    this.userSex = userSex;
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }

  public String getPassWord() {
    return passWord;
  }

  public void setPassWord(String passWord) {
    this.passWord = passWord;
  }

  public UserSexEnum getUserSex() {
    return userSex;
  }

  public void setUserSex(UserSexEnum userSex) {
    this.userSex = userSex;
  }

  public String getNickName() {
    return nickName;
  }

  public void setNickName(String nickName) {
    this.nickName = nickName;
  }

  @Override
  public String toString() {
    // TODO Auto-generated method stub
    return "userName " + this.userName + ", pasword " + this.passWord + "sex " + userSex.name();
  }

}
